﻿@model IEnumerable<ClientSite2nd.Models.Currency>

<table style="border: 1px solid">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.CurrencyName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Buy)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Sell)
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td style="border-right: 1px solid">
                <b>@Html.DisplayFor(modelItem => item.CurrencyName)</b>
            </td>
            <td style="border-right: 1px solid">
                @Html.DisplayFor(modelItem => item.Buy)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Sell)
            </td>
        </tr>
    }
</table>
<p>Testing page refresh (time): </p>
@DateTime.Now.TimeOfDay
